package com.example.demo.service.impl

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
import com.example.demo.dao.SysUserDao
import com.example.demo.entity.SysUser
import com.example.demo.service.SysUserService
import org.springframework.stereotype.Service

@Service
open class SysUserServiceImpl : ServiceImpl<SysUserDao, SysUser>(), SysUserService {


    override fun getUser(name: String): SysUser {
        return baseMapper.getUser(name)
    }
}